package com.yc.bbs.service;

import lombok.Data;

@Data
public class BizException extends Exception{
    private Object data;

    public BizException() {}
    public BizException(String message,Object data) {
        super(message);
        this.data = data;
    }
    public BizException(String message,Object data,Throwable cause) {
        super(message,cause);
        this.data = data;
    }

}
